//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Dallas Cowboys vs. New York Giants (Date: TBD)','AT&T Stadium','Arlington, TX','Tuesday','7/2/2024','TBD','6349866','Dallas-Cowboys-vs--New-York-Giants--Date--TBD--7-2-2024'],['Washington Commanders vs. New York Giants (Date: TBD)','Commanders Field','Landover, MD','Wednesday','7/3/2024','TBD','6349901','Washington-Commanders-vs--New-York-Giants--Date--TBD--7-3-2024'],['Philadelphia Eagles vs. New York Giants (Date: TBD)','Lincoln Financial Field','Philadelphia, PA','Wednesday','7/3/2024','TBD','6349842','Philadelphia-Eagles-vs--New-York-Giants--Date--TBD--7-3-2024'],['Atlanta Falcons vs. New York Giants (Date: TBD)','Mercedes-Benz Stadium','Atlanta, GA','Monday','7/8/2024','TBD','6350205','Atlanta-Falcons-vs--New-York-Giants--Date--TBD--7-8-2024'],['Pittsburgh Steelers vs. New York Giants (Date: TBD)','Acrisure Stadium','Pittsburgh, PA','Tuesday','7/9/2024','TBD','6350023','Pittsburgh-Steelers-vs--New-York-Giants--Date--TBD--7-9-2024'],['Cleveland Browns vs. New York Giants (Date: TBD)','Cleveland Browns Stadium','Cleveland, OH','Tuesday','7/9/2024','TBD','6350008','Cleveland-Browns-vs--New-York-Giants--Date--TBD--7-9-2024'],['Carolina Panthers vs. New York Giants (Date: TBD)','Bank Of America Stadium','Charlotte, NC','Tuesday','7/9/2024','TBD','6350217','Carolina-Panthers-vs--New-York-Giants--Date--TBD--7-9-2024'],['Seattle Seahawks vs. New York Giants (Date: TBD)','Lumen Field','Seattle, WA','Thursday','7/11/2024','TBD','6350240','Seattle-Seahawks-vs--New-York-Giants--Date--TBD--7-11-2024'],['New York Giants Preseason Home Game 1 (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Friday','7/12/2024','TBD','6349835','New-York-Giants-Preseason-Home-Game-1--Date--TBD--7-12-2024'],['New York Giants vs. Dallas Cowboys (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Saturday','7/13/2024','TBD','6349837','New-York-Giants-vs--Dallas-Cowboys--Date--TBD--7-13-2024'],['New York Giants vs. Philadelphia Eagles (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Sunday','7/14/2024','TBD','6349838','New-York-Giants-vs--Philadelphia-Eagles--Date--TBD--7-14-2024'],['New York Giants vs. Washington Commanders (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Monday','7/15/2024','TBD','6349839','New-York-Giants-vs--Washington-Commanders--Date--TBD--7-15-2024'],['New York Giants vs. Baltimore Ravens (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Tuesday','7/16/2024','TBD','6349841','New-York-Giants-vs--Baltimore-Ravens--Date--TBD--7-16-2024'],['New York Giants vs. Cincinnati Bengals (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Wednesday','7/17/2024','TBD','6349843','New-York-Giants-vs--Cincinnati-Bengals--Date--TBD--7-17-2024'],['New York Giants vs. New Orleans Saints (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Thursday','7/18/2024','TBD','6349847','New-York-Giants-vs--New-Orleans-Saints--Date--TBD--7-18-2024'],['New York Giants vs. Tampa Bay Buccaneers (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Sunday','7/21/2024','TBD','6349849','New-York-Giants-vs--Tampa-Bay-Buccaneers--Date--TBD--7-21-2024'],['New York Giants vs. Minnesota Vikings (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Monday','7/22/2024','TBD','6349851','New-York-Giants-vs--Minnesota-Vikings--Date--TBD--7-22-2024'],['New York Giants vs. Indianapolis Colts (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Tuesday','7/23/2024','TBD','6349853','New-York-Giants-vs--Indianapolis-Colts--Date--TBD--7-23-2024'],['2024 New York Giants Season Tickets (Includes Tickets To All Regular Season Home Games)','MetLife Stadium','East Rutherford, NJ','Friday','9/6/2024','TBD','6261958','2024-New-York-Giants-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--9-6-2024']],'New York Giants','http://www.ticketnetwork.com/ticket/New-York-Giants-events.aspx');